package cn.lystudio.rohm_time_op.service;

import cn.lystudio.rohm_time_op.entity.dto.UsmBtRecordDTO;
import cn.lystudio.rohm_time_op.entity.dto.UsmCdRecordDTO;
import cn.lystudio.rohm_time_op.entity.po.UsmBtRecordPO;
import cn.lystudio.rohm_time_op.entity.po.UsmCdRecordPO;

import java.util.List;

public interface UsmCdRecordService {
    int addRecord(UsmCdRecordPO usmCdRecordPO);
    List<UsmCdRecordDTO> getList(String selectedMachineNo, String selectedDateFrom,String selectedDateTo);
    UsmCdRecordPO getRecordUnfinished(UsmCdRecordPO usmCdRecordPO);
    List<UsmCdRecordDTO> getFinishedRecordByLotNo(String lotNo);
    UsmCdRecordPO getUsmCdRecordByID(String recordID);
    int uptRecord(UsmCdRecordPO usmCdRecordPO);
    int delRecord(Integer recordID);
}
